<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"  "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
  <title><%=@title || @webcomic_title%></title>
  <%= stylesheet_link_tag "simple" %> 
</head>
<body style="text-align:center; font-size:smaller">
  <div id="wrapper">
  <div id="content">
  <div class="body">
	    <div id="flash-content">
	      <%- if flash[:notice] %><div class="flash-notice"><%= flash[:notice] %></div><% end -%>
		  <%- if flash[:error] %><div class="flash-error"><%= flash[:error] %></div><% end -%>
		  <%- if flash[:warning] %><div class="flash-warning"><%= flash[:warning] %></div><% end %>		
	    </div>	    
  <%= yield%>
  </div>
  <hr/>
  <div class="footer">
    
	<%if @admin%>
	  <div><a href="/account/admin">Admin Area</a></div>
	<%end%><%if logged_in?%>
	  <div><a href="/logout">Logout</a></div>
	<%end%>
    <div><a href="/home">About</a></div>	
    <div><a href="/"><%=@webcomic_title%></a></div>    
	<div>&copy; Copyright</div>  
  </div>
  </div>
  </div>
</body>
</html>